package com.palm.core.anno;


import com.palm.core.anno.impl.BackendOnlyHandler;
import org.noear.solon.annotation.Before;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 仅允许从后台调用
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Before(BackendOnlyHandler.class)
public @interface BackendOnly {
}
